#include "CGUIObject.h"
using namespace GUI;
CGUIObject::CGUIObject(const int w, const int h)
{
  posX = 0.0f;
  posY= 0.0f;
  visible = true;
  occupacity = 1.0f;

  width = w;
  height = h;
}
void CGUIObject::setPosition(const float x, const float y)
{
  posX = x; 
  posY = y;
}

void CGUIObject::setVisible(const bool v)
{
  visible = v;
}

void CGUIObject::setOccupacity(const float o)
{
  occupacity = o;
}

bool CGUIObject::isVisible()
{
  return visible;
}

float CGUIObject::getPosX()
{
  return posX;
}

float CGUIObject::getPosY()
{
  return posY;
}

float CGUIObject::getOccupacity()
{
  return occupacity;
}

int CGUIObject::getHeight()
{
  return height;
}
int CGUIObject::getWidth()
{
  return width;
}
